/**
 *
 * @authors treeT (iqianduan@126.com)
 * @date    2017-08-23 11:10:35
 * @version $Id$
 */
(function($){

    var methods = {
        init: function(options){

        }


    };

    $.fn.treeTable = function(method){
        if (methods[method]) {
            return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
        } else if (typeof method === 'object' || !method) {
            return methods.init.apply(this, arguments);
        } else {
            $.error('Method ' + method + ' does not exist on jQuery.treeTable');
        }
    };

})(jQuery);

